package org.example.runafterstart.initializingBean;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * @Description: 初始化 Bean
 */

@Component
@Slf4j
public class InitializingBeanTest implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        log.info("InitializingBean 方法执行");
    }
}
